Add this to the Thredded initializer:

```ruby
# config/initializers/thredded.rb
Rails.application.config.to_prepare do
  Thredded::ApplicationController.module_eval do
    before_action :thredded_require_login!
  end
end
```